package com.ruoyi.zyx.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 回单对象 zyx_order_bill
 *
 * @author ruoyi
 * @date 2021-06-17
 */
public class ZyxOrderBill extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 派单id */
    @Excel(name = "派单id")
    private Long sendorderid;

    @Excel(name = "回单类型")
    private String billtype;// 1维修 2保养 3检定 4运营相关

    /** 故障现象 */
    @Excel(name = "故障现象")
    private String fault;

    /** 工作内容/保养项目 */
    @Excel(name = "工作内容")
    private String workcontent;

    /** 工作结果 */
    @Excel(name = "工作结果")
    private String workresult;

    /** 附件 */
    @Excel(name = "附件")
    private String files;

    /** 配件名称 */
    @Excel(name = "配件名称")
    private String partsname;

    /** 配件型号 */
    @Excel(name = "配件型号")
    private String partsmodel;

    /** 服务评价 */
    @Excel(name = "服务评价")
    private String evaluate;

    /** 建议 */
    @Excel(name = "建议")
    private String suggest;

    /** 删除标记 */
    private String delFlag;

    /** 设备状态 */
    private String devicestatus;
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSendorderid(Long sendorderid)
    {
        this.sendorderid = sendorderid;
    }

    public Long getSendorderid()
    {
        return sendorderid;
    }
    public void setFault(String fault)
    {
        this.fault = fault;
    }

    public String getFault()
    {
        return fault;
    }
    public void setWorkcontent(String workcontent)
    {
        this.workcontent = workcontent;
    }

    public String getWorkcontent()
    {
        return workcontent;
    }
    public void setWorkresult(String workresult)
    {
        this.workresult = workresult;
    }

    public String getWorkresult()
    {
        return workresult;
    }
    public void setFiles(String files)
    {
        this.files = files;
    }

    public String getFiles()
    {
        return files;
    }
    public void setPartsname(String partsname)
    {
        this.partsname = partsname;
    }

    public String getPartsname()
    {
        return partsname;
    }
    public void setPartsmodel(String partsmodel)
    {
        this.partsmodel = partsmodel;
    }

    public String getPartsmodel()
    {
        return partsmodel;
    }
    public void setEvaluate(String evaluate)
    {
        this.evaluate = evaluate;
    }

    public String getEvaluate()
    {
        return evaluate;
    }
    public void setSuggest(String suggest)
    {
        this.suggest = suggest;
    }

    public String getSuggest()
    {
        return suggest;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sendorderid", getSendorderid())
            .append("fault", getFault())
            .append("workcontent", getWorkcontent())
            .append("workresult", getWorkresult())
            .append("files", getFiles())
            .append("partsname", getPartsname())
            .append("partsmodel", getPartsmodel())
            .append("evaluate", getEvaluate())
            .append("suggest", getSuggest())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
                .append("billtype",getBilltype())
            .toString();
    }

    public String getBilltype() {
        return billtype;
    }

    public void setBilltype(String billtype) {
        this.billtype = billtype;
    }

    public String getDevicestatus() {
        return devicestatus;
    }

    public void setDevicestatus(String devicestatus) {
        this.devicestatus = devicestatus;
    }
}
